package com.ruoyi.project.channel.vwChannelBusinessCashDayStat.service;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.channel.vwChannelBusinessCashDayStat.mapper.VwChannelBusinessCashDayStatMapper;
import com.ruoyi.project.channel.vwChannelBusinessCashDayStat.domain.VwChannelBusinessCashDayStat;
import com.ruoyi.project.channel.vwChannelBusinessCashDayStat.service.IVwChannelBusinessCashDayStatService;
import com.ruoyi.common.utils.text.Convert;

/**
 * VIEW 服务层实现
 * 
 * @author zero
 * @date 2019-05-06
 */
@Service
public class VwChannelBusinessCashDayStatServiceImpl implements IVwChannelBusinessCashDayStatService 
{
	@Autowired
	private VwChannelBusinessCashDayStatMapper vwChannelBusinessCashDayStatMapper;

	/**
     * 查询VIEW信息
     * 
     * @param id VIEWID
     * @return VIEW信息
     */
    @Override
	public VwChannelBusinessCashDayStat selectVwChannelBusinessCashDayStatById(String id)
	{
	    return vwChannelBusinessCashDayStatMapper.selectVwChannelBusinessCashDayStatById(id);
	}
	
	/**
     * 查询VIEW列表
     * 
     * @param vwChannelBusinessCashDayStat VIEW信息
     * @return VIEW集合
     */
	@Override
	public List<VwChannelBusinessCashDayStat> selectVwChannelBusinessCashDayStatList(VwChannelBusinessCashDayStat vwChannelBusinessCashDayStat)
	{
	    return vwChannelBusinessCashDayStatMapper.selectVwChannelBusinessCashDayStatList(vwChannelBusinessCashDayStat);
	}
	
    /**
     * 新增VIEW
     * 
     * @param vwChannelBusinessCashDayStat VIEW信息
     * @return 结果
     */
	@Override
	public int insertVwChannelBusinessCashDayStat(VwChannelBusinessCashDayStat vwChannelBusinessCashDayStat)
	{
	    return vwChannelBusinessCashDayStatMapper.insertVwChannelBusinessCashDayStat(vwChannelBusinessCashDayStat);
	}
	
	/**
     * 修改VIEW
     * 
     * @param vwChannelBusinessCashDayStat VIEW信息
     * @return 结果
     */
	@Override
	public int updateVwChannelBusinessCashDayStat(VwChannelBusinessCashDayStat vwChannelBusinessCashDayStat)
	{
	    return vwChannelBusinessCashDayStatMapper.updateVwChannelBusinessCashDayStat(vwChannelBusinessCashDayStat);
	}

	/**
     * 删除VIEW对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	@Override
	public int deleteVwChannelBusinessCashDayStatByIds(String ids)
	{
		return vwChannelBusinessCashDayStatMapper.deleteVwChannelBusinessCashDayStatByIds(Convert.toStrArray(ids));
	}
	
}
